package cn.green.core.components.field;

import cn.green.core.model.QField;

/**
 * 字段权限类型
 */
public interface FieldAuthTypeCom {
    String authName();
    String authCode();
    boolean passSelect(QField field);
    boolean passInsert(QField field, Object value);
    boolean passUpdate(QField field, Object value);

    boolean hasInput(QField field);
    boolean readonly(QField field);
}
